<script type="text/javascript">
	function tijiao(form, navTabId) {
		var $form = $(form);
		if (form[DWZ.pageInfo.pageNum])
			form[DWZ.pageInfo.pageNum].value = 1;
		$.pdialog.closeCurrent();
		navTab.reload($form.attr('action'), {
			data : $form.serializeArray(),
			navTabId : navTabId
		});
		return false;
	}
</script>
<div class="pageContent">
	<form method="post" action="__URL__/priceentrypay" id="pagerForm"
		onsubmit="return tijiao(this,'ControlTable');">
		<input type="hidden"  name="state" value="1"/>

		<div class="pageFormContent" layoutH="58">
			<div class="unit">
				<p>请输入检索条件：</p>
					<p><label>始：</label> <input type="text" name="start"
						class="date" /><a class="inputDateButton" href="javascript:;">选择</a>
					</p>
					<p><label>至：</label> <input type="text" name="end"
						class="date" /><a class="inputDateButton" href="javascript:;">选择</a>
					</p>
			</div>
			<div class="divider">divider</div>
			<p class="unit">
				<label >订单号：</label> 
				<input type="text" name="orders">
			</p>
			<p class="unit">
				<label style="margin-right: -10px;">发货方：</label> 
				<select name="shipper" id="shipper"	class="combox">
						<option value="">请选择</option>
						<volist id="sub" name="subcompany"> 
						<option value="{$sub.subname}">{$sub.subname}</option>
						</volist>
					</select>
			</p>
			<p class="unit">
				<label style="margin-right: -10px;">客户：</label> 
				<select name="customer" id="customer" class="combox">
						<option value="" selected>请选择</option>
						<volist name="list4" id="vo">
						<option value="{$vo.customername}">{$vo.customername}</option>
						</volist>
					</select>
			</p>
				<p class="unit">
				<label style="margin-right: -10px;">供应商：</label> 
				<select name="provider" id="provider" class="combox">
						<option value="" selected>请选择</option>
						<volist name="list3" id="vo">
						<option value="{$vo.providername}">{$vo.providername}</option>
						</volist>
					</select>
			</p>
				<p class="unit">
				<label style="margin-right: -10px;">起运地：</label> 
				<select name="startaddress" class="combox">
					<option value="" selected>请选择</option>
					<volist name="freight" id="vo">
					<option value="{$vo.startaddress}">{$vo.startaddress}</option>
					</volist>
				</select>
			</p>
				<p class="unit">
				<label style="margin-right: -10px;">目的地：</label> 
				<select name="destination" class="combox">
					<option value="" selected>请选择</option>
					<volist name="end" id="vo">
					<option value="{$vo.endaddress}">{$vo.endaddress}</option>
					</volist>
				</select>
			</p>
			<p class="unit">
				<label>车牌号：</label> 
				<input type="text" name="carno">
			</p>
			<p class="unit">
				<label style="margin-right: -10px;">车辆状态：</label> 
				<select name="carstat" class="combox">
					<option value="" selected>请选择</option>
					<option value="1">运送完毕</option>
					<option value="2">待发货</option>
					<option value="3">发货</option>
				<!-- 车辆状态为2表示车待发货，等待输入吨数 -->
				</select>
			</p>
			<p class="unit">
				<label style="margin-right: -10px;">产品名称：</label> 
				<select name="product" class="required combox">
					<option value="" selected>请选择</option>
					<volist name="goods" id="vo">
					<option value="{$vo.goodsname}">{$vo.goodsname}</option>
					</volist>
				</select>
			</p>
		</div>
		<div class="formBar">
			<ul>
				<li><div class="buttonActive">
						<div class="buttonContent">
							<button type="submit">开始检索</button>
						</div>
					</div></li>
				<li><div class="button">
						<div class="buttonContent">
							<button type="reset">清空重输</button>
						</div>
					</div></li>
			</ul>
		</div>
	</form>
</div>
